home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DEMOCIAL / DEMOWP42.LZH / DEMOMAN.BAT < prev    next >
DOS Batch File  |  1980-01-01  |  850b  |  45 lines

  1. echo off
  2. sg_mem 180
  3. if errorlevel 1 goto smallmem
  4. goto mem_ok
  5. :smallmem
  6. sg_notes 461 581 701
  7. echo .
  8. echo Not enough memory to run demo.
  9. echo You need at least 180K bytes free.
  10. goto done
  11. :mem_ok
  12. sg_dmode
  13. if errorlevel 8 goto cmodes
  14. if errorlevel 7 goto mono
  15. goto cmodes
  16. :mono
  17. rtdemo _file_2 -xlate 14011f1f1309
  18. goto done
  19. :cmodes
  20. echo .
  21. echo Is the monitor connected to your PC
  22. echo B&W or Color?
  23. echo .
  24. sg_askw 10 bc (Type a B for B&W or C for Color):
  25. if errorlevel 255 goto timeout
  26. :chkcode
  27. if errorlevel 3 goto none
  28. if errorlevel 2 goto color
  29. if errorlevel 1 goto bw
  30. :none
  31. sg_notes 461 581 701
  32. echo .
  33. echo Please, only type the letter B or C.
  34. echo .
  35. sg_ask bc Type a B for B&W or a C for Color:
  36. goto chkcode
  37. :timeout
  38. echo C - Assuming Color
  39. :color
  40. rtdemo _file_2
  41. goto done
  42. :bw
  43. rtdemo _file_2 -xlate
  44. :done
  45.